package com.aefottt.struggle_star.bean;

import org.litepal.crud.LitePalSupport;

/**
 * 子待办
 */
public class SubTaskBean extends LitePalSupport {
    private final int taskId;
    private int rank;
    private String title;
    private @DataBean.IntBoolean int isAchieved;

    public SubTaskBean(int taskId, int rank, String title, int isAchieved) {
        this.taskId = taskId;
        this.rank = rank;
        this.title = title;
        this.isAchieved = isAchieved;
    }

    public int getTaskId() {
        return taskId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getIsAchieved() {
        return isAchieved;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    public void setIsAchieved(int isAchieved) {
        this.isAchieved = isAchieved;
    }
}
